package com.sangmo.fts.clazz.interfaces;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class UserCreation implements Serializable {

    private String exRoleId;
    @NotNull(message = "角色不能为空")
    private Long roleId;
    private String schoolName;
    private String exSchoolId;
    private String exUserId;

    @NotBlank(message = "登录名不能为空")
    private String loginName;

    private String password;

    @NotBlank(message = "用户姓名不能为空")
    private String name;

    private String gender;

    @NotBlank(message = "学号不能为空")
    private String number;

    @NotBlank(message = "用户手机号不能为空")
    private String mobile;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getExRoleId() {
        return exRoleId;
    }

    public void setExRoleId(String exRoleId) {
        this.exRoleId = exRoleId;
    }

    public String getExSchoolId() {
        return exSchoolId;
    }

    public void setExSchoolId(String exSchoolId) {
        this.exSchoolId = exSchoolId;
    }

    public String getExUserId() {
        return exUserId;
    }

    public void setExUserId(String exUserId) {
        this.exUserId = exUserId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
